package com.kmxd.ams.client.search.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * 检索详情
 *
 * @author nickbi
 */
@Schema(description = "检索详情")
@Data
public class SearchFileDownloadDTO implements Serializable {

  @NotNull(message = "表名不能为空")
  @Schema(description = "表名")
  private String tableId;

  @NotNull(message = "门类不能为空")
  @Schema(description = "门类id")
  private Long archTypeId;

  @NotNull(message = "数据主键不能为空")
  @Schema(description = "数据id")
  private Long id;

  @Schema(description = "电子文件id")
  private Long fileId;

  @Schema(description = "下载原版")
  private Boolean originFlag;

}
